{extend name="public:_base" /}
{block name="js"}

<script type="text/javascript">
    $("[name='status']").find("[value='{$Think.get.status}']").attr("selected", true);
</script>
{/block}

{block name="main"}

<div class="user_conver">

    {include file="public:_right"}

    <!-- 查看文章 -->
    <div class="user_item my_data">
        <!-- 标题 -->
        <div class="user_item_title">
            <i class="glyphicon glyphicon-cog"></i>
            文章信息 <font>ARTICLE INFORMATION</font>
        </div>
        <!-- #标题 -->

        <!-- 内容 -->
        <div class="user_item_cont user_info_cont">

            <div class="cl pd-5 bg-1 bk-gray mt-20">
                <span class="r">
                    <i class="glyphicon glyphicon-share-alt"></i>
                    共有数据：{$num}<strong></strong>
                </span>
            </div>

            <div class="mt-20 bk-table">
                <table class="table table-border table-bordered table-bg table-hover table-sort">
                    <thead>
                    <tr class="text-c">
                        <th width="40">序号</th>
                        <th width="100">标题/内容</th>
                        <th width="100">创建时间</th>
                        <!--<th width="50">操作</th>-->
                    </tr>
                    </thead>

                    <tbody>
                    {volist name="list" id="vo"}
                    <tr class="text-c va-m">
                        <td>{$Think.get.page?(($Think.get.page-1)*$Think.config.paginate.list_rows+$i):($i)}</td>
                        <td class="text-l">
                            标题:<a href="{:url('index/article/detailed',['id'=>$vo.aid])}">{$vo.title}</a><br>
                            内容:<textarea rows="10" cols="90" readonly>{$vo.center}</textarea>
                        </td>
                        <td>{$vo.create_time|date="Y-m-d H:i:s",###}</td>
                        <!--<td class="td-manage">-->
                        <!--<a class="btn radius btn-xs btn-danger" href="javascript:;" onclick="del()" title="删除">删除</a>-->
                        <!--</td>-->
                    </tr>
                    {/volist}
                    </tbody>
                </table>
            </div>

            {$list->render()}

        </div>
        <!-- #内容 -->
    </div>
    <!-- #查看文章 -->

</div>

<!--{$list->render()}-->
{/block}